package com.tansun.easycare.rule.ruletest.model;

import com.tansun.easycare.rule.common.entity.RuleBaseEntity;

import lombok.Data;

/**
 * 规则测试项Entity
 *
 * @author lixs
 * @version 2017-03-24
 */
@Data
public class RuleItem extends RuleBaseEntity<RuleItem>  implements Comparable<RuleItem>{
    private static final long serialVersionUID = 1L;
    private String testId;        // 规则测试ID
    private String itemType;        // 项类型
    private String className;        // 数据集
    private String classNamecn;        // 数据集中文名
    private String nameen;        // 变量英文名称
    private String namecn;        // 变量中文名
    private String paramValue;        // 变量值
    private String dataType;        // 数据类型

    private String defaultValue;

    private String isCollections;
    private String collection;
    private String isDerives;

    private String domain;

    private String pattern;

  

	@Override
	public int compareTo(RuleItem o) {
		return nameen.compareTo(o.nameen);
	}


}